#!/bin/bash
set -e

curScriptPath=$(dirname $(readlink -f "$0"))
. $curScriptPath/../env_config.sh

directories=($WS_PATH $ARCHIVE_LOG_PATH $LOG_PATH $ARCHIVE_LOG_PATH $WS_TMP_PATH $ARCHIVE_WWW_PATH)

# 循环遍历目录列表，并使用mkdir命令创建每个目录
for dir in "${directories[@]}"
do
    mkdir -p "$dir"
    echo "Created directory: $dir"
done
